import request from '@/utils/request.js'

import {useTokenStore} from '@/stores/token.js'










export const backgroundEffectsListService = (params)=>{
    return  request.get('/admin/backgroundEffects/listAll',{params:params})
}


export const backgroundEffectsAddService = (data)=>{
    return request.post('/admin/backgroundEffects/add',data);

}


export const backgroundEffectsDelService = (id)=>{
    return request.get('/admin/backgroundEffects/del?id='+id)
}

export const backgroundEffectsEditService = (data)=>{
    return  request.post('/admin/backgroundEffects/edit',data)
}

export const backgroundEffectsResourcePublishService = (data)=>{
    return  request.post('/admin/backgroundEffects/publish',data)
}
